home *** CD-ROM | disk | FTP | other *** search
- ----- readsnd("fname")
- -- Read data from the system 7 sampled sound file "fname" into the global array "samples". Returns the sample rate. Sample values range from 0 to 255.
- -- (To try this example, option drag the "Wild Eep" sound from your system suitcase).
-
- rate:=readsnd("Wild Eep"):; rate:11127.2727
- Xmin=0; Xmax=count(samples)/rate; Xlabel="sec"
- plotline samples
-